#ifndef FILE_CONTROL_H
#define FILE_CONTROL_H

#include <filesystem>
#include <vector>

class fileControl
{
  public:
    fileControl(std::filesystem::path workdir_root);
    
    bool CreateProjectDir(const std::string & project_dir_name);
    std::vector<std::string> ScanProjectDir();

    bool CreateTaskDir(const std::string & project_dir_name,const std::string & task_dir_name);
    std::vector<std::string> ScanTaskDir(const std::string & project_dir_name);

    std::vector<std::string> ScanVideoFile(const std::string & project_dir,const std::string & task_dir);
    bool CheckVideoFile(const std::string & project_dir,const std::string & task_dir,const std::string& videoFile);

  private:
    std::filesystem::path root_path;
};

#endif
